package com.doit.demo02;

import java.io.*;

public class demo01 {
    public static void main(String[] args) throws IOException {
        OutputStream out = new BufferedOutputStream(new FileOutputStream("day21\\buffer\\a.txt"));

        out.write(97);
        out.write("12345\r\n".getBytes());
        out.write("上山打老虎\r\n".getBytes());
        out.write("老虎没打着\r\n".getBytes());
        out.write("打着小松鼠\r\n".getBytes());
        out.write("松鼠有几只\r\n".getBytes());
        out.write("让我数一数\r\n".getBytes());
        out.write("12345\r\n".getBytes());
        out.close();

    }
}
